import addressinfosModel from "../model/addressinfosModel.js"
export default {
    namespaced: true,
    state: {
        payobj: {}
    },
    mutations: {
        innitpayobj(state, playload) {
            state.payobj = playload
        }
    },
    actions: {
        async innitpayobj(context, playload) {
            let { data: list } = await addressinfosModel.query({
                id: playload
            })

            context.commit("innitpayobj", list[0])
        }
    }
}